/**
 * Created by luomingzhong on 16/12/12.
 */
    // apiConfigProvider.setMode('test');
    apiConfigProvider.setMode('producation');
    // apiConfigProvider.setMode('producation');
    apiConfigProvider.enableApiEncryptMode(false);

    // 生产环境 public key
    var encryptPublicKey = '-----BEGIN PUBLIC KEY-----' +
        'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3p8ljPR9SsaU+OKHWMV82EK07' +
        'B3Ky7IlpQmHMcOu8zewgw7sKS7XK2AhoeNFD6gDNLsX42WY9owEjAYCHtxbtjIpy' +
        'CwPe2/t8inoZOX0/CYE+2y6KjRCKTdITlTKDbhSjDeug03emFr7oVcwBeU5wa/IR' +
        'v69s63g17yzL90FDfwIDAQAB' +
        '-----END PUBLIC KEY-----';

    var testModePublicKey = '-----BEGIN PUBLIC KEY-----' +
        'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC1JyVZUNOc3vVB4/JVQ/TXdBDv' +
        'u0Q5IqIx7Gobo1wwcbA1k4XgFljhRcSbNh/mnBRZ9Iete2MFasr/RlECcta1LLw8' +
        'kXEmo1fRYxe6cc6oMqUehomigm8Rd+677vbVXELu33NffZAo6XHzMxrWcVLB5Lxu' +
        '5U9equ6GQNw9F3tLGwIDAQAB' +
        '-----END PUBLIC KEY-----';
    apiConfigProvider.setEncryptPublicKey(encryptPublicKey);
    // apiConfigProvider.setEncryptPublicKey(testModePublicKey);